package com.uzai.console.vo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Objects;

/**
 * @Auther: liuqi
 * @Date: 2021/8/10 14:58
 * @Description:
 */
@ApiModel("用户会员标签详情")
@Data
public class SysTagVo {
    @ApiModelProperty("会员标签ID")
    private Long id;
    @ApiModelProperty("会员标签类型")
    private Integer type;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        SysTagVo userTagVo = (SysTagVo) o;
        return Objects.equals(id, userTagVo.id);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id);
    }
}


